﻿using LJX.SmartPark.Common.ResponseOutput;
using LJX.SmartPark.Domain.SafeManage.PatrolRecord;
using LJX.SmartPark.Domain.SafeManage.Train;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static LJX.SmartPark.Service.SafeManage.TrainServeice;

namespace LJX.SmartPark.Service.SafeManage
{
    public interface ITrainServeice: ITransientService
    {
        Task<Response<List<Train>>> GetTrainAsync(FyTrain fyTrain);

        Response<Train> GetTrainById(Train input);

        int GetCount();
        Task<Response<bool>> PostAddTrainAsync(Train input);
        Task<Response<bool>> DeleteTrainAsync(Train input);
        Task<Response<bool>> PutUpdTrainAsync(Train input);
    }
}
